<template>
  <div class="box">
    <van-nav-bar title="受理结果" left-arrow @click-left="$router.back()"/>
    <repaymentStatus v-if="status == 'refuse'" :type="'refuse'" source="intent" results="登记失败" :write="''"></repaymentStatus>
    <repaymentStatus v-else :type="''" source="intent" results="登记成功" :write="''"></repaymentStatus>
  </div>
</template>

<script>
import Vue from "vue";
import setting from "@/setting";
import repaymentStatus from './component/repaymentStatus.vue'
export default {
  components: { repaymentStatus },
  name: "IntentResults",
  data() {
    return {
      status: 'refuse',  //refuse失败  ''成功
    };
  },
  created: function() {
    this.status = this.$route.query.status;
  },
  methods: {

  },
};
</script>

<style scoped lang="less">
/deep/.van-nav-bar{
  .van-nav-bar__content{
    height: 4.4rem;
    line-height: 2rem;
    .van-icon{
      color: rgb(50, 50, 51);
      font-size: 2rem;
    }
    .van-nav-bar__title{
      font-size: 1.8rem;
    }
  }
}
[class*=van-hairline]::after{
  border: 0;
}
</style>
